package com.hqq.behaviour.dependency_injection;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;


/**
 * Tobacco
 * 烟抽象类
 * Created by heqianqian on 2017/6/14.
 */
public abstract class Tobacco {

    private static final Logger LOGGER = LoggerFactory.getLogger(Tobacco.class);

    public void smoke(Wizard wizard) {
        LOGGER.info("{} smoke {}", wizard.getClass().getSimpleName(),
                this.getClass().getSimpleName());
    }
}
